From: Stefan Monnier Date: Thu, 21 Nov 2019 22:39:38 +0000 (-0500) Subject: * lisp/files.el (locate-file-completion-table): Fix typo X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~19^2~949 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=81ab458aae931e01a940424eeea55777004f9c55;p=emacs.git * lisp/files.el (locate-file-completion-table): Fix typo --- diff --git a/lisp/files.el b/lisp/files.el index bb77dcb3c7e..2c45a8b1078 100644 --- a/lisp/files.el +++ b/lisp/files.el @@ -958,7 +958,7 @@ one or more of those symbols." ;; M-x load-library RET t/x.e TAB finds some files. Also remove elements ;; from `names' that matched `string' only when they still had ;; their suffix. - (setq names (all-completions string names)) + (setq names (all-completions string-file names)) ;; Remove duplicates of the first element, so that we can easily check ;; if `names' really contains only a single element. (when (cdr names) (setcdr names (delete (car names) (cdr names))))